package com.zone.sdk.module.appstore.entity;

import com.zone.sdk.common.http.base.BaseEntity;

public class AppEntity extends BaseEntity {

    private static final long serialVersionUID = -1L;

    /**
     * 商品编码
     * from homeshow/list
     * apps/detail
     */
    private String code;
    /**
     * 应用名称
     * from：homeshow/list
     * apps/detail
     */
    private String name;

    private String packageName;
    /**
     * 应用类型app/小程序
     * from apps/detail
     */
    private String type; //appType;

    /**
     * 应用详情
     * from apps/detail
     */
    private String desc;
    private String description;
    /**
     * 应用图标
     * from apps/detail
     */
    private String icon;

    /**
     * 预览图片
     * from apps/detail
     */
    private String images;
    /**
     * 截图
     * from apps/detail
     */
    private String screenshot;

    private String preview;
    private String previewType;
    /**
     * 宣传视频
     * from： homeshow/list
     */
    private String previews;
    private String previewsType;
    /**
     * 排序值
     * from： homeshow/list
     */
    private int sort;
    /**
     * 评分
     * from： homeshow/list
     */
    private String score;
    /**
     * 一句话介绍
     * from： homeshow/list
     * apps/detail
     */
    private String oneWord;
    /**
     * 标签 ,多个用逗号分隔
     * from： homeshow/list
     * apps/detail
     */
    private String labels;
    /**
     * 开发者
     * from apps/detail
     */
    private String developer;
    /**
     * 开发者一句话
     * from apps/detail
     */
    private String developerWord;
    /**
     * 厂商
     * from apps/detail
     */
    private String producer;
    /**
     * 官方群
     * from apps/detail
     */
    private String officialGroup;
    /**
     * 版本号
     * from apps/detail
     */
    private String version;

    private String oldVersion;

    private String newVersion;

    private String updateDesc;
    /**
     * 应用地址
     * from apps/detail
     */
    private String url;
    /**
     * 大小
     * from apps/detail
     */
    private String size;
    /**
     * 更新时间
     * from apps/detail
     */
    private String updateTime;
    /**
     * 网络协议
     * from apps/detail
     */
    private String netProtocol;
    /**
     * 适配车型
     * from apps/detail
     */
    private String adapterModel;

    /**
     * 安利墙评论
     */
    private String comment;

    private int downCount = 0;
    /**
     * 来自于应用列表信息
     */
    private String productPrice;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getAppType() {
        return type;
    }

    public void setAppType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getScreenshot() {
        return screenshot;
    }

    public void setScreenshot(String screenshot) {
        this.screenshot = screenshot;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public String getPreviewType() {
        return previewType;
    }

    public void setPreviewType(String previewType) {
        this.previewType = previewType;
    }

    public String getPreviews() {
        return previews;
    }

    public void setPreviews(String previews) {
        this.previews = previews;
    }

    public String getPreviewsType() {
        return previewsType;
    }

    public void setPreviewsType(String previewsType) {
        this.previewsType = previewsType;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getOneWord() {
        return oneWord;
    }

    public void setOneWord(String oneWord) {
        this.oneWord = oneWord;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public String getDeveloper() {
        return developer;
    }

    public void setDeveloper(String developer) {
        this.developer = developer;
    }

    public String getDeveloperWord() {
        return developerWord;
    }

    public void setDeveloperWord(String developerWord) {
        this.developerWord = developerWord;
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    public String getOfficialGroup() {
        return officialGroup;
    }

    public void setOfficialGroup(String officialGroup) {
        this.officialGroup = officialGroup;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getOldVersion() {
        return oldVersion;
    }

    public void setOldVersion(String oldVersion) {
        this.oldVersion = oldVersion;
    }

    public String getNewVersion() {
        return newVersion;
    }

    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion;
    }

    public String getUpdateDesc() {
        return updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getNetProtocol() {
        return netProtocol;
    }

    public void setNetProtocol(String netProtocol) {
        this.netProtocol = netProtocol;
    }

    public String getAdapterModel() {
        return adapterModel;
    }

    public void setAdapterModel(String adapterModel) {
        this.adapterModel = adapterModel;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getDownCount() {
        return downCount;
    }

    public void setDownCount(int downCount) {
        this.downCount = downCount;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public boolean needPay() {
        return !("0.00".equals(this.productPrice));
    }

}
